﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CustomControls
{
    public class CustomTreeListControl : DevExpress.XtraGrid.GridControl
    {
        private string _ID = "ID";
        public string ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        private string _ParentID = "ParentID";
        public string ParentID
        {
            get { return _ParentID; }
            set { _ParentID = value; }
        }

        public override object DataSource
        {
            get
            {
                return base.DataSource;
            }
            set
            {
                base.DataSource = value;
                if (base.DataSource is System.Data.DataTable)
                {
                }
            }
        }
    }
}
